
car1 = dict(
    color='红色',  # 颜色
    brand = '比亚迪',  # 品牌
    mode = '汉EV'  # 型号
)

car2 = dict(
    color = '白色',
    brand = '宝马',
    mode = 'X5'
)

def car_run(car, speed):
    print(car['color'], '的', car['brand'], car['mode'],
          '正在以', speed, '公里每小时的速度飞驰')

car_run(car1, 120)
car_run(car2, 230)

